/**
 * 
 */
package org.jenkon.commons.collection.iterator;

import java.util.List;

import org.jenkon.commons.collection.decorator.IteratorDecorator;

/**
 * @author Jens Konopka
 * 
 * @param <E> the type of element
 */
public class ReverseListIterator<E> extends IteratorDecorator<E> {

	/**
	 * @param values {@link List} with the values
	 */
	@SuppressWarnings("unchecked")
	public ReverseListIterator(final List<E> values) {
		super(new ReverseArrayIterator<E>((E[]) values.toArray()));
	}

}
